﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Com.Alipay
{
    public class ParamInfo
    {
        private string out_trade_no;
        /// <summary>
        /// 商户订单号
        /// </summary>
        public string Out_trade_no
        {
            get { return out_trade_no; }
            set { out_trade_no = value; }
        }
        private string subject;
        //订单名称
        public string Subject
        {
            get { return subject; }
            set { subject = value; }
        }
        private decimal price;
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }
        private int quantity = 1;
        /// <summary>
        /// 商品数量
        /// </summary>
        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }
        private decimal logistics_fee;
        /// <summary>
        /// 物流费用
        /// </summary>
        public decimal Logistics_fee
        {
            get { return logistics_fee; }
            set { logistics_fee = value; }
        }
        private string logistics_type;
        /// <summary>
        /// 物流类型：三个值可选：EXPRESS（快递）、POST（平邮）、EMS（EMS）
        /// </summary>
        public string Logistics_type
        {
            get { return logistics_type; }
            set { logistics_type = value; }
        }
        private string logistics_payment = "BUYER_PAY";
        /// <summary>
        /// 物流支付方式:两个值可选：SELLER_PAY（卖家承担运费）、BUYER_PAY（买家承担运费）
        /// </summary>
        public string Logistics_payment
        {
            get { return logistics_payment; }
            set { logistics_payment = value; }
        }
        private string body;
        /// <summary>
        /// 订单描述
        /// </summary>
        public string Body
        {
            get { return body; }
            set { body = value; }
        }
        private string show_url;
        /// <summary>
        /// 商品展示地址
        /// </summary>
        public string Show_url
        {
            get { return show_url; }
            set { show_url = value; }
        }
        private string receive_name;
        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string Receive_name
        {
            get { return receive_name; }
            set { receive_name = value; }
        }
        private string receive_address;
        /// <summary>
        /// 收货人地址
        /// </summary>
        public string Receive_address
        {
            get { return receive_address; }
            set { receive_address = value; }
        }
        private string receive_zip;
        /// <summary>
        /// 收货人邮编
        /// </summary>
        public string Receive_zip
        {
            get { return receive_zip; }
            set { receive_zip = value; }
        }
        private string receive_phone;
        //收货人电话号码
        public string Receive_phone
        {
            get { return receive_phone; }
            set { receive_phone = value; }
        }
        private string receive_mobile;
        //收货人手机号码
        public string Receive_mobile
        {
            get { return receive_mobile; }
            set { receive_mobile = value; }
        }
        private string btnText="确认";
        /// <summary>
        /// 按钮文字
        /// </summary>
        public string BtnText
        {
            get { return btnText; }
            set { btnText = value; }
        }
    }
}
